package com.atguigu.exam.service;

import com.atguigu.exam.entity.Banner;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

/**
 * 轮播图服务接口
 */
public interface BannerService extends IService<Banner> {

//上传轮播图业务！ 做校验 + 调用核心上传业务方法
    String uploadBannerImage(MultipartFile file) throws Exception;

    //保存轮播图
    void  addBanner(Banner banner) throws Exception;

    //修改轮播信息
    void updateBanner(Banner banner) throws Exception;


} 